﻿using System;
using System.Runtime.Serialization;
using System.Windows.Forms;

namespace Moonlite.UI.Shell.Controls
{
    [Serializable]
    public class MapExplorerNode : TreeNode
    {
        private MapExplorerNodeDoubleClickAction doubleClickAction;
        public MapExplorerNodeDoubleClickAction DoubleClickAction
        {
            get { return doubleClickAction; }
            set { doubleClickAction = value; }
        }

        public MapExplorerNode()
            : base()
        {
        }

        public MapExplorerNode(string text)
            : base(text)
        {
        }

        public MapExplorerNode(SerializationInfo serializationInfo, StreamingContext context)
            : base(serializationInfo, context)
        {
        }

        public MapExplorerNode(string text, TreeNode[] children)
            : base(text, children)
        {
        }

        public MapExplorerNode(string text, int imageIndex, int selectedImageIndex)
            : base(text, imageIndex, selectedImageIndex)
        {
        }

        public MapExplorerNode(string text, int imageIndex, int selectedImageIndex, TreeNode[] children)
            : base(text, imageIndex, selectedImageIndex, children)
        {
        }
    }
}
